import Vue from 'vue'
import Storage from 'vue-ls'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import App from './App.vue'
import router from './router'
import store from './store'
import '@/permission'
import config from '@/defaultSettings'

import VueClipBoard from 'vue-clipboard2'
Vue.use(VueClipBoard)


Vue.config.productionTip = false
Vue.use(Storage, config.storageOptions)
Vue.use(ElementUI, { size: 'medium' }) // set element-ui default size

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
